<template>
  <div>
    <div>
      <h4>社会活动</h4>
      <el-row>
        <el-col :span="6">
            <span>工作 </span>
            <el-input v-model="pgForm.social_activities_input1" placeholder="" style="width: 40%;"></el-input>
        </el-col>
        <el-col :span="6">
            <span>兴趣爱好 </span>
            <el-input v-model="pgForm.social_activities_input2" placeholder="" style="width: 40%;"></el-input>
        </el-col>
        <el-col :span="6">
            <span>社会活动 </span>
            <el-input v-model="pgForm.social_activities_input3" placeholder="" style="width: 40%;"></el-input>
        </el-col>
        <el-col :span="6">
            <span>社会性退缩 </span>
            <el-select v-model="pgForm.social_activities_value" placeholder="请选择" style="width: 40%;">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
        </el-col>
      </el-row>
    </div>
  </div>
</template>

<script>
export default {
  name: "social_activities",
  title: "社会活动",
  created() {
    if(this.istrans){
      this.pgForm=this.fromdata
    }
  },
  props: {
    fromdata:{},
    istrans:false,
  },
  data() {
    return {
      options: [{
        value: '请选择',
        label: '请选择'
      }, {
        value: '有',
        label: '有'
      }, {
        value: '无',
        label: '无'
      }],
      pgForm: {
        social_activities_input1: '',
        social_activities_input2: '',
        social_activities_input3: '',
        social_activities_value: ''
      }
    }
  }
}
</script>

<style scoped>
.el-row{
  margin: 10px 0;
  padding: 20px 20px;
  background-color: #f9f9f9;
  flex-wrap: wrap;
  flex-direction: row;
}
</style>
